package com.atguigu.srb.sms;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

//排除数据库连接池自动配置类
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class  )
@EnableSwagger2 //启用swagger
@ComponentScan(basePackages = "com.atguigu.srb")
@EnableFeignClients //扫描@FeignClient注解标注的接口
public class SrbSmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(SrbSmsApplication.class, args);
    }
}
